﻿@model FollowPeers.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}

<div class="navbar navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
        </div>
    </div>
</div>
@*@Html.Partial("_Header")*@
<div class="grid_16">
    <h2 id="page-heading">New User Registration</h2>
</div>
<div class="clear"></div>
<div class="grid_10 prefix_3">
    <div class="box">


        <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.")
            <div>
                <fieldset class="login">
                    <!--   <p>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName) 
            </p> -->
                    <input type="hidden" name="UserName" id="UserName" value="0" />
                    <p class="editor-label">
                        @Html.LabelFor(m => m.FirstName, "First Name")
                        @Html.TextBoxFor(m => m.FirstName)
                        @Html.ValidationMessageFor(m => m.FirstName)
                    </p>
                    <p class="editor-label">
                        @Html.LabelFor(m => m.LastName, "Last Name")
                        @Html.TextBoxFor(m => m.LastName)
                        @Html.ValidationMessageFor(m => m.LastName)
                    </p>


                    <p class="editor-label">
                        @Html.LabelFor(m => m.Email)
                        @Html.TextBoxFor(m => m.Email)
                        @Html.ValidationMessageFor(m => m.Email)
                    </p>

                    <p class="editor-label">
                        @Html.LabelFor(m => m.Password)
                        @Html.PasswordFor(m => m.Password, new { @placeholder = "Min 6 characters", @class = "input-xlarge" })
                        @Html.ValidationMessageFor(m => m.Password)
                    </p>

                    <p class="editor-label">
                        @Html.LabelFor(m => m.ConfirmPassword)
                        @Html.PasswordFor(m => m.ConfirmPassword)
                        @Html.ValidationMessageFor(m => m.ConfirmPassword)
                    </p>

                    <p class="editor-label">

                        @Html.LabelFor(model => model.Profession)

                        @{List<string> list = new List<string>();
                          list.Add("Individual");
                          list.Add("Corporate");
                        }
                        @Html.DropDownList("Select Account Type", new SelectList(list))

                    </p>
<<<<<<< HEAD


=======
>>>>>>> parent of 39e9876... Created Security Question and Answer field in account model
                    <div class="controls">
                        <input class="btn btn-primary" type="submit" value="Sign Up" />
                    </div>

                </fieldset>
            </div>
        }
    </div>
</div>
<div class="clear"></div>
@Html.Partial("_Footer")